If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / Every link on my page goes to google! help!

Every link on my page goes to google! help!

Locked

Started by ssbeats on 6 May 2009, 4:13 PM · Views: 768

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
6 May 2009, 4:13 PM
#1
ssbeats avatar

ssbeats

New Zenner

Join Date:
Jun 2007
Posts:
72
Plugin Contributions:
0

Every link on my page goes to google! help!

Hi.
I have just looked at my website after some time and when i clicked on practically any link on my page it goes straight to google.

Even if i access the page from google it still does the same.

Click on this link for example...
https://www.synthsoundz.com/loops-and-samples-c-66.html

Im in a bit of a panic as to why this is. I would grealty appreciate your help.

Thanks.

6 May 2009, 4:38 PM
#2
ssbeats avatar

ssbeats

New Zenner

Join Date:
Jun 2007
Posts:
72
Plugin Contributions:
0

Re: Every link on my page goes to google! help!

I just remembered...
I tried to add some code to the htaccess in order to do a 301 redirect. So it must have cause problems with the SEO url settings.
Here is the htaccess code. Can anyone spot anything that looks wrong with this?

##### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:Options +FollowSymLinksRewriteEngine OnRewriteBase /


# From Ultimate SEO URLsRewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]# For Open Operations Info ManagerRewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]# For dreamscape's News & Articles ManagerRewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]# All other pages# Don't rewrite real files or directoriesRewriteCond %{REQUEST_FILENAME} !-f [NC] RewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]

Ive really messed things up. You help is appreciated.

6 May 2009, 4:56 PM
#3
ssbeats avatar

ssbeats

New Zenner

Join Date:
Jun 2007
Posts:
72
Plugin Contributions:
0

Re: Every link on my page goes to google! help!

sorry for the false alarm. I didnt think i had a backup but then i found one and now it works.

thanks.

6 May 2009, 4:56 PM
#4
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Every link on my page goes to google! help!

your issue is that its all on one line so it is effectively commented out

you need to break it back down to lines again

Zen cart PCI compliant Hosting