2023-06-13, 07:18 PM
This user has been denied support.
Hey guys,Can we remove index.php after the domain name ? Like my website link show like this
domain.com/index.php
Regards.
[General] Can we remove index.php after the domain name ?
|
2023-06-13, 07:18 PM
This user has been denied support.
Hey guys,Can we remove index.php after the domain name ? Like my website link show like this domain.com/index.php Regards.
Just share the domain.com link with others.
If you're talking about the logo link in the header template for home page you would go to Header Templates --> header and find
Or something similar, depending upon your theme and just remove the /index.php from the url.
2023-06-15, 09:04 AM
The logo link is a good catch. There's also the first element of the breadcrumb to consider. To change that would require either a basic plugin or a core edit of line 1075 of
global.php from: to:
2023-06-15, 01:04 PM
Didn't even think about that part.
Typically for core edits I actually use the patches plugin by frostschutz. I know its older but it still works and is great considering any upgrades that overwrite files means I can easily just re-activate the patch without having to alter the actual files themselves.
2023-06-15, 07:29 PM
This user has been denied support.
(2023-06-14, 10:57 PM)Taylor M Wrote: Just share the domain.com link with others. (2023-06-15, 09:04 AM)Laird Wrote: The logo link is a good catch. There's also the first element of the breadcrumb to consider. To change that would require either a basic plugin or a core edit of line 1075 of Both method worked as I have 4 themes. Moreover, only have to remove index.php from logout and theme selector. Can you guide for it ?
2023-06-15, 08:21 PM
(This post was last modified: 2023-06-15, 11:23 PM by Taylor M. Edited 2 times in total.)
member.php line 1960
you could try editing to this
i'm not sure this would work but it might for the theme selector it is a cookie that is set. the page will refresh to whichever page they selected a different theme from. if they do it from the homepage it refreshes to index.php as that is the file being loaded. I am unsure of a way to remove this. also: no need to PM me to look at this thread again, i automatically get subscription PM's any time a thread I am in is responded to. thanks.
2023-06-15, 08:52 PM
(This post was last modified: 2023-06-15, 08:52 PM by jkcool. Edited 1 time in total.)
This user has been denied support.
(2023-06-15, 08:21 PM)Taylor M Wrote: member.php line 1960 Worked. Only Theme Selector index issue is remaining.
2023-06-16, 08:46 AM
(This post was last modified: 2023-06-17, 06:35 AM by Laird. Edited 4 times in total.
Edit Reason: Update replacement code to handle board installed in domain root folder
)
(2023-06-15, 01:04 PM)Taylor M Wrote: Typically for core edits I actually use the patches plugin by frostschutz. I know its older but it still works and is great considering any upgrades that overwrite files means I can easily just re-activate the patch without having to alter the actual files themselves. Nice. I've not used it before but will keep it in mind if I need persistent core edits that aren't handled by a plugin. I seem to remember Omar mentioning a core edit plugin too recently - I'm not sure if it's the same one. (2023-06-15, 08:52 PM)jkcool Wrote: Only Theme Selector index issue is remaining. Try replacing line 5465 of inc/functions.php : with:[Note: this code supplied below is buggy, which is why I've struck it out. I'll supply working code in an update post.]
If that works, then the core edit plugin referenced by Taylor above might help to maintain it across MyBB ugrades.
2023-06-16, 09:21 AM
(This post was last modified: 2023-06-16, 09:21 AM by PARADOX987.)
Yes I use that patches plugin, it's too useful for core edits .
2023-06-16, 09:40 AM
|
« Next Oldest | Next Newest »
|