By Paul Murray on Tuesday, 16 October 2018
Posted in General Issues
Likes 0
Views 810
Votes 0
Hello SI Team

I am a self confessed URL idiot.

Here is the menu structure for my site:

HOME (SP Builder Pro)
https://finalbug.net

PLANS (Pay Plans)
https://finalbug.net/index.php/store

GROUPS (Easy Social)
https://finalbug.net/index.php/groups-learn-post-production-socially-fcpx-and-more

NETWORK (Easy Social)
https://finalbug.net/index.php/network-final-cut-pro-post-production-professionals

BLOG (Easy Blog)
https://finalbug.net/index.php/blog-final-cut-training-resolve-etc

VIDEOS (EASY SOCIAL)
https://finalbug.net/index.php/videos-learn-fcpx-davinci-workflow

STREAM (EASY SOCIAL)

https://finalbug.net/index.php/stream-social-learning

From GROUPS through to STREAM

index.php” appears in the URL!

Is this normal because I have a feeling this was not the case in the past?

Maybe there was a feature added recently that changed how URLs behave?

Is there a setting some where to remove the “index.php”?

Surely it is not good for SEO etc?

thanks

Paul
Hey there,

In order to remove the index.php from your site, you need to set 'After' at 'Site Name in Page Titles' and set 'Use URL Rewriting' to 'yes' and Save it at Global Configuration of your backend.

Also, you need to rename your htaccess.txt file to '.htaccess' to support enabled 'Use URL Rewriting' before you see the changes.

Can you have a try and see how it goes?
·
Tuesday, 16 October 2018 16:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Irwin

In my case:

a) Set 'After' at 'Site Name in Page Titles' : This was already the case.
b) Set 'Use URL Rewriting' to 'yes' : was NOT the case.
c) My ".htaccess" file : was already ".htaccess"

All appears to work now with out the index php in my URLs.

Kindly double check my screen shot so that I know we are talking about the same ".htaccess" file.

thanks

Paul
·
Tuesday, 16 October 2018 17:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

Your .htaccess file is fine and I just checked each of your menu items and I don't see any 'index.php' generated in the URL of each of it on your site.

Can you point us to the page which its URL has generated with 'index.php' so that we can have a better check?
·
Tuesday, 16 October 2018 18:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Irwin

Your .htaccess file is fine


Yes that is what I thought. I just wanted you to double check.
Sometimes file extensions types are shown some times not shown.
eg I was worried about the file being .txt and me not seeing the .txt!

thank you for double checking this for me.

all the best

Paul
·
Tuesday, 16 October 2018 22:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Wednesday, 17 October 2018 10:32
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post