Forum
Welcome, Guest
Please Login to access forum.
JSitemap doesn't work since .htaccess changed (1 viewing) 
Go to bottom
TOPIC: JSitemap doesn't work since .htaccess changed
#5103
Mohamed Maaroufi
Fresh Boarder
Posts: 4
User Offline
JSitemap doesn't work since .htaccess changed Karma: 0  
Hello,

Many functionnalities of JSitemap doesn't work anymore (seo spider...) because I made some changes on my htaccess file. The problem is that "google search console" said there is a duplicate content with the www and non-www website version. Notice that my website is using HTTPS. So I change my htaccess from:

Code:

RewriteEngine On RewriteCond %{HTTPS} OFF RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
To:
Code:

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST}#%{HTTPS}s ^www\.([^#]+)#(?:off|on(s)) [NC] RewriteRule ^ http%2://%1%{REQUEST_URI} [R=301,L] </IfModule>
May be something is wrong on the code or not relevant. My website works well and it is now correctly redirected but JSitemap doesn't. Any help?
 
Logged Logged  
  The administrator has disabled public write access.
      Topics Author
    thread link
JSitemap doesn't work since .htaccess changed
Mohamed Maaroufi
    thread link
thread linkthread link Re:JSitemap doesn't work since .htaccess changed
John Dagelmore
Go to top