All Questions
4 questions
1
vote
1
answer
255
views
How to add trailing slashes to links in my pages from .htaccess in addition to the redirects I've implemented?
I've recently appended the trailing slash at the end of the URL by using this .htaccess code:
#add trailing slashes
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^...
2
votes
0
answers
157
views
invoke a URL Perl script silently, without changing URL visible to client
I've been fighting the Google canonical page algorithm bug for 2+ months. Following various forum advice and suggestions haven't solved it yet, although for sure they've made our website better. One ...
2
votes
1
answer
60
views
Redirecting /page/*/ to the home page in .htaccess
My problem is that my homepage exists on https://www.example.com/page/2/, /3/, /4/ and so on, it still exists on /1000/. Same duplicate page versions exists on /about and and /contact page of my site.
...
4
votes
2
answers
2k
views
How to correctly remove MULTIPLE parameters from the Google index using htaccess and canonical / noindex?
I found a similar question with a great answer for removing a single URL parameter. However, what if I have 20+ URL parameters that I don't want indexed?
Also, in the example solution below, it is ...