Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Fixing duplicate pages and how to redirect

Featured Lock Resolved Issue
Hi there,
My website analyser came back to me on an error I had, stating that:

"We've been running a scan for your project and found a lot of duplicated pages.

https://www.website.co.za/index.php/our-services >301> https://www.website.co.za/our-services

Could you please make necessary redirects"

How do I go about fixing this error that they found?

Thank you for your assistance in advance,

2 Answers

Paul Frankowski - Staff

More than a month ago #Permalink
Hi,
sorry it was your mistake, you should enable SEF since beginning.
---
You have two options:
1) Use extra extension for redirections
2) use .htaccess rule with 301 redirect for each link

BTW
Two years ago I have seen this code for htaccess, I am not sure if it works but..


RewriteCond %{REQUEST_URI} ^/index\.php/
RewriteRule ^index.php/(.*) /$1 [R=301,L]


Put it in new row after "RewriteEngine On"


There are replies in this post but you are not allowed to view the replies from this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 130
Toufiq

Toufiq

Total Accepted Answers: 100
Sifat

Sifat

Total Accepted Answers: 63
RV

RAFFAELE VIOLA

Total Accepted Answers: 2
IP

Ian Proffer

Total Accepted Answers: 1

116

Templates

299710

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us