I have just done a 301 on my site to my other site on the same server(Linux). But the Gallery URL is still showing the old URL. How can I update the old gallery URL to the new one??
Thanx
Xen
I'm not sure where it is that "the Gallery URL is still showing the old URL". To update gallery config, if that's what you want, go to Config. The setting is in the first section or so.
I mean that I have redirected the whole site, including coppermine(/gallery) to another site on the same server. My site is showing the the new URL, but the /gallery URL is still showing the old sites /gallery URL.
I have updated the URL in the config section, but still showing the old URL.
Post a link and the redirection code you have used.
RedirectMatch permanent ^/$ http://currentaffairsherald.com
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://www.xennamgyal.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.xennamgyal.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://xennamgyal.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://xennamgyal.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://currentaffairsherald.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://currentaffairsherald.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.currentaffairsherald.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.currentaffairsherald.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
Right, so you redirected only the main site. To redirect everything use:
RedirectMatch permanent ^(.*)$ http://currentaffairsherald.com$1
Replace
RedirectMatch permanent ^/$ http://currentaffairsherald.com
with
RedirectMatch permanent ^(.*)$ http://currentaffairsherald.com$1