remove .php
-
derekk
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 14
-
Thank you received: 0
-
-
8 years 2 months ago #5579
by derekk
Our original site had .php added to every url.
We want to have anyone entering the siteurl.com/page.php to be redirected to siteurl.com/page.
The "page" part of "page.php" could be literally hundreds of different names?
Thank you
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
8 years 2 months ago #5580
by admin
Hi,
create a rule as follow:
From URL: \.php$
To URL: {scheme}://{siteurl}{pathrtrim .php}
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
derekk
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 14
-
Thank you received: 0
-
-
8 years 2 months ago #5581
by derekk
Steps to test:
Installed Redj and Sh404sef
Created url in sh4o4 called "making-a-transcript-trestle.php"
In Redj created a rule as follows:
From URL: \.php$
To URL: {scheme}://{siteurl}{pathrtrim .php}
I entered mysite.com/making-a-transcript-trestle.php in a browser and it redirected to mysite.com/making-a-transcript-trestle.
It correctly removed the .php suffix
Are these correct steps to prove it works Luigi?
Thank you
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
8 years 2 months ago #5584
by admin
Yes,
except for the presence of sh404SEF...
I mean I know from my experience that ReDJ and sh404SEF can work together, but I don't know how sh404SEF works on the whole process.
So if all works as expected... that's good.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
derekk
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 14
-
Thank you received: 0
-
-
8 years 2 months ago #5588
by derekk
Thank you excellent product and support Luigi.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
8 years 2 months ago #5592
by admin
Thanks to you for using ReDJ. I really appreciate.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
Time to create page: 0.154 seconds