301 Redirect not working
-
Donna353
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
11 years 6 months ago - 11 years 6 months ago #1024
by Donna353
Last edit: 11 years 6 months ago by Donna353.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 6 months ago #1028
by admin
Hi,
create this rule:
From URL: ^/index\.php\?option=com_xmap&sitemap=1&Itemid=159$
To URL: http://{siteurl}/site-map
Request only: true (must be checked)
Let me know...
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
Donna353
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
11 years 6 months ago #1035
by Donna353
Hi Luigi,
Thank you for your suggestion. Unfortunately, I'm still getting 404 errors after I created the suggested ReDJ rule. Did you mean to add that to the .htaccess file?
Warm regards,
Donna
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 6 months ago - 11 years 6 months ago #1038
by admin
Hi Donna,
this is a ReDJ rule. The only thing you should add in the .htaccess file (at the end) is:
But should not be needed for this redirect. Checking your old URL is redirected to:
http://%7Bwebmarketinghub.org%7D/site-map
So, there is an error with ReDJ rule. Check blanks, the destination should be (literally)
http://{siteurl}/site-map
Please, advise.
Luigi
Last edit: 11 years 6 months ago by admin.
Please Log in or Create an account to join the conversation.
-
Donna353
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
11 years 6 months ago #1039
by Donna353
Hi Luigi,
Got it working! Yay, thank you!
Your suggestion of changing the /index.php part of the URL to ^/index\.php\ was the ticket to getting this to work.
Much love,
Donna
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
Time to create page: 0.180 seconds