Jump to content

Recommended Posts

Posted

The board that I'm referencing in this post is fairly new (1 month live as of the 20th). I have Friendly URL's enabled, but index.php?/ is still part of the URL. Is there a good reason to rewrite the URL's to eliminate that? Is there an even better reason NOT to rewrite, such as major problems that it may cause? 

Like I said, the board is new, but there's around 50,000 posts at this point. I don't want to do something that's going to screw things up if the current setup is just fine.

Posted
2 hours ago, Morrigan said:

It’s more seo friendly not to have it. Use “Seo optimization” in the menu to download and fix the issue. Won’t cause any tithes and will give a good redirect.

As they are now, it looks like this (just a random example):

https://www.eaglesmessageboard.com/index.php?/topic/115-survivor-season-40-winners-at-war/

That URL would be less desirable than if 'index.php?' wasn't there?

I don't mind having the board rewrite the URLs, I just don't want to 'break' the board by doing it. I wish I'd done it before going live, but it's just one of those things that I didn't do and now there's about 50,000 posts. I really don't want rewriting the URLs to cause a mess.

I guess I could clone the board and install it in a test forum, then rewrite and see how it reacts. I could then use that test forum for the 4.5 upgrade test forum when it gets released. 

Posted

Will doing this cause uploaded images to no longer display properly or will that have to be re-built? I ask because I don't want the member list to have to be re-built, which I believe I did once on another board several years ago, and it screwed up the post counts. This new board is actually a sort of 'replacement' board for an official NFL team board that the team did away with. 

As part of building the replacement board, I had everyone archive their old profiles (on the discontinued, official board), and once they joined the new board, I manually set their post count and reputation score to what it had been on the official board. That just kind of gave a smooth transition for everyone, but was a good bit of work for me. But the majority of members didn't want to lose 10 to 20 years worth of post count (the highest of which is around 130,000 posts). I really don't want to have to do that all over again lol. 

I actually don't even know if 'rebuilding' is still a thing in the ACP, to be honest lol. 

Posted

Nothing adverse will happen. It won't change anything crazy ALL it will do is remove index.php? from the forum. I've done it plenty of times and it actually improves SEO. THe uploaded images will stay in tact, nothing will be rebuilt.

I'd say its a magic button to remove that bit from your URL. ❤️

  • 2 weeks later...
Posted

I made the change a couple of days ago. There does seem to be an uptick in guests. I don't know if that's related, but the uptick does pretty much exactly coincide with the rewriting of the URL's.  But at the same time, there seems to be a downtick in Adsense impressions, which pretty much coincides with the re-writing. 

  • 4 years later...
Posted

How to remove that index.php without rewriting them? 

If I rewrite them for current pages and then create new pages. It will be an issue for the future pages correct? 

I tried rewriting via .htaccess and all pages were 404 after... 

Thanks

Posted
4 minutes ago, Grandma said:

I tried rewriting via .htaccess and all pages were 404 after... 

Did you apply the .htaccess on your server in the community's root directory? If so, please ensure that your server supports URL rewrites and is running Apache. If you do not know how to do any of this, please contact your hosting provider for support.

Posted

Supports apache and supports rewrites. 

After changing .htaccess url structure didn't change but says admin page can't be found 

.htaccess 

 

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    # If the request is for a valid file or directory, don't rewrite
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    # Remove /index.php from the URL
    RewriteRule ^index\.php/(.*)$ /$1 [L,R=301]

    # Handle all other requests through index.php
    RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
</IfModule>

Posted

Did you place this in the root directory of where your community is installed on your server? If you placed it in the "admin" directory, you would indeed get an error. You will want to move it up to the root directory.

Posted

Please put it in place and provide us access:

We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. 

We look forward to further assisting you. 

 

Posted

Unfortunately, the ACP credentials we are provided were a display name when the ACP is requiring an email address. Additionally, I see that the .htaccess is blank on your server. Please ensure that it is populated correctly and in place in the error'd state.

Posted

I just checked and everything works. Login via cpanel using credentials I provided. I just checked and everything worked. 

I placed the code back into .htaccess as per your instruction. 

Thank you for your help! 

Posted
1 minute ago, Grandma said:

I just checked and everything works. Login via cpanel using credentials I provided. I just checked and everything worked. 

The ACP credentials are still a display name rather than email address which it requires. This is the Admin Control Panel of the software, not your hosting.

Additionally, the error is not in place as URL rewrite has not been enabled in the ACP and I also cannot access the ACP.

Posted

What you have in your .htaccess is not the .htaccess we provide in ACP -> System -> Search Engine Optimization -> Rewrite Rules. You will want to download that file and apply it as instructed there:

Could contain: Nature, Night, Outdoors, Page, Text

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...