Zen Cart Logo
Forums / Search Engines / Ultimate SEO URLs

Ultimate SEO URLs

Views: 125,983

Results 421 to 440 of 1,097
27 Sep 2008, 3:05 AM
#421
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Ultimate SEO URLs

Website Rob:

Due to how your site is setup, you must use: RewriteBase /
I believe that both options are equivalent.
If you write RewriteBase /domain-name.com, it is more convoluted but amounts to the same, it will start in the domain name anyway.

27 Sep 2008, 3:44 AM
#422
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Ultimate SEO URLs

If SEO urls is installed correctly in the public root, then go in to configuration> SEO urls > Reset SEO URLs Cache

Then sometimes you will need to clear your browser cache as well to view them... But not often.

Also make sure

Enable automatic redirects? is set to FALSE if your site is NOT indexed in the search engines, and TRUE if it is.

I am not seeing it indexed in Google.com... but check the others as well.

~Melanie

27 Sep 2008, 3:50 AM
#423
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Ultimate SEO URLs

ckosloff:

I believe that both options are equivalent.
If you write RewriteBase /domain-name.com, it is more convoluted but amounts to the same, it will start in the domain name anyway.

This
RewriteBase /afro-masks.com/

is not the same as

RewriteBase /

and here is why: Your hostname, which is generally your domain name has 2 canonical versions. So for example if you wish to display your website with the www, then you would need it in the rewrite syntax as well.

The reasons for using the relative path to root "/" are many, but most importantly if you move your site you path is still correct and unless your site is an addon domain then it is really not at all correct to use the hostname as the "Base".... If you have a shared SSL for example it will screw you up.

So the proper code for your site is:

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

If you are using addon domains... then you will need the following line to be absolutely FIRST line in every domain/directory .htaccess or they will screw up as well.

RewriteEngine Off

~Melanie

27 Sep 2008, 3:26 PM
#424
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Ultimate SEO URLs

mprough:

If you are using addon domains... then you will need the following line to be absolutely FIRST line in every domain/directory .htaccess or they will screw up as well.

RewriteEngine Off

When you say addon domains, do you mean sub-domains?
Like <https://www.toplevel.com/subdomain/>
I suppose that RewriteEngine should be Off in the sub-domain because it is On in the top level?
Thanks.
27 Sep 2008, 3:50 PM
#425
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Ultimate SEO URLs

An Addon domain is an available DNS configuration to put full domains UNDER the hosting account domain. In essence these domains are physically directories, but the DNS is setup to display them as if hosted singularly. It is not a sub domain. Some hosting companies will host sub domains in this same manner, while others create a fully hosted account for sub domains.

The reason for turning the rewrite engine off is that any rules in the public root would still apply for these 2cnd level directories if the rewrite engine is not turned off first.

~Melanie

27 Sep 2008, 4:34 PM
#426
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: Ultimate SEO URLs

mprough:

An Addon domain is an available DNS configuration to put full domains UNDER the hosting account domain. In essence these domains are physically directories, but the DNS is setup to display them as if hosted singularly. It is not a sub domain. Some hosting companies will host sub domains in this same manner, while others create a fully hosted account for sub domains.
The reason for turning the rewrite engine off is that any rules in the public root would still apply for these 2cnd level directories if the rewrite engine is not turned off first.
~Melanie
Interesting, because my account is setup that way.
I have several domains (directories), with their own static IP, so they would be addons.
Will test what works in the .htaccess file.
Thanks.

27 Sep 2008, 4:57 PM
#427
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Re: Ultimate SEO URLs

Hi
I tried all the possibilities you guys gave me.
When I Reset SEO URLs Cache I suppose this is a one moment happening. Because the value for Reset SEO URLs Cache remains on False.

cleared my browser cache
Enable automatic redirects? is set to FALSE ,because of not indexed in Google.
I have changed .htaccess file to:

Options +FollowSymLinks
RewriteEngine Off
RewriteBase /

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

But still I am getting dynamic url's.

Here is my .htaccess file

NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:

Options +FollowSymLinks
RewriteEngine Off
RewriteBase /

From Ultimate SEO URLs

RewriteRule ^(.)-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 Manager

RewriteRule ^(.*)-i-([0-9]+).html$ index.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]

For dreamscape's News & Articles Manager

RewriteRule ^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 directories

RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index.php?main_page=$1&%{QUERY_STRING} [L]

27 Sep 2008, 5:28 PM
#428
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Ultimate SEO URLs

lieven23, not sure if this has been asked/confirmed already but do you have USEO enabled?

Admin > Configuration > SEO URLs
Enable SEO URLs? true

If yes, copy and paste what you have for this setting (which is at the bottom):
** Enter pages to allow rewrite**

27 Sep 2008, 6:32 PM
#429
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Re: Ultimate SEO URLs

Hi
I 've copy pasted my ZEO url settings here in a jpg

27 Sep 2008, 6:55 PM
#430
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Ultimate SEO URLs

Enable automatic redirects? true

Change to the above and you should be good.

27 Sep 2008, 7:03 PM
#431
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Re: Ultimate SEO URLs

Hi Rob
I've changed the enable automatic redirects to true and now it works:clap:
But when I click a category I get a 404 not Found error.
Thx for your help

my site: http://afro-masks.com/

27 Sep 2008, 7:18 PM
#432
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Ultimate SEO URLs

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

Make the above change and all should be well. :smile:

27 Sep 2008, 7:24 PM
#433
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Re: Ultimate SEO URLs

YES it works fine now.
I 'm really happy

Thx Rob

27 Sep 2008, 7:28 PM
#434
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Ultimate SEO URLs

Your welcome for the help and glad to hear you got it sorted.

27 Sep 2008, 9:34 PM
#435
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Ultimate SEO URLs

Odd.. I am getting nice clean search friendly urls see....
http://afro-masks.com/kenze-mask-p-3.html

:clap:

~Melanie

27 Sep 2008, 9:40 PM
#436
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Ultimate SEO URLs

was running a bit behind.. lol

But the rewrite engine line I gave you was to be by itself just one line at the beginning because of your account style within your host..

Like this...

RewriteEngine Off

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

You see when you have other directories rewrite rules will be set by the public roots rules and can wreak havoc on your other areas... so EACH addon domain should have the 1st line of the htaccess as RewriteEngine Off.... This clears any outside rules and begins a new set, even if they are none in that folder... the ones from outside of it are cleared and a cleans slate for the folders.

and

Enable automatic redirects? true
This is ONLY neded to be set to true IF your pages are indexed... The options are like this

TRUE: Redirect my new urls so the OLD ones work also.
FALSE: I am not indexed JUST rewrite my urls no old ones to need redirected.
~Melanie

28 Sep 2008, 4:00 PM
#437
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Re: Ultimate SEO URLs

I have been reading through this thread to figure out why my sitemaps are not being indexed. I changed some setting as I was reading this thread but For some reason Google will not index the pages. I had my pages indexed before I added the USEO, and now I get this erroe > URLs not followed

When we tested a sample of the URLs from your Sitemap, we found that some URLs were not accessible to Googlebot because they contained too many redirects. Please change the URLs in your Sitemap that redirect and replace them with the destination URL (the redirect target). All valid URLs will still be submitted.

This is exactly how my .htaccess is set up.> ##### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:

RewriteEngine Off

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

From Ultimate SEO URLs

RewriteRule ^(.)-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 Manager

RewriteRule ^(.*)-i-([0-9]+).html$ index.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]

For dreamscape's News & Articles Manager

RewriteRule ^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 directories

RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index.php?main_page=$1&%{QUERY_STRING} [L]

I have set the Atuo Redirect To False and resubmitted my sitemaps to google hoping they will override the previous pages and just add the new user friendly pages but I still get a warning on my dashbord.

Finally I have an add-on domain in the public_html. When I click on any categorie or product on the add-on domain I get redirected back to the main domain. How can I fix this issue???

28 Sep 2008, 4:05 PM
#438
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Ultimate SEO URLs

Glamorousshoe:

Finally I have an add-on domain in the public_html. When I click on any categorie or product on the add-on domain I get redirected back to the main domain. How can I fix this issue???

RewriteEngine Off

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

Add this to the VERY TOP of the .htaccess in the addon domains PUBLIC ROOT to stop that.

As far as your sitemaps... You are picking up OLD urls links when you crawl the site... They are redirected/rewritten links... and Google will not follow them in a sitemap. Take them out and fix the links within your site to reflect the new urls.

~Melanie

28 Sep 2008, 4:51 PM
#439
coolcarpartsonline avatar

coolcarpartsonline

Totally Zenned

Join Date:
Feb 2008
Posts:
1,386
Plugin Contributions:
0

Re: Ultimate SEO URLs

mprough:

RewriteEngine Off

Options +FollowSymLinks
RewriteEngine On
RewriteBase /

> Add this to the VERY TOP of the .htaccess in the addon domains PUBLIC ROOT to stop that.
> 
> As far as your sitemaps... You are picking up OLD urls links when you crawl the site... They are redirected/rewritten links... and Google will not follow them in a sitemap. Take them out and fix the links within your site to reflect the new urls.
> 
> ~Melanie

Let me get this straight so I should remove the RewriteEngine Off in the .htaccess of the main domain and just add the above code to all the add-on domains?????

What Do you mean to take the Site Maps out and fix them???? Delete them from the google website and resubmit them OR remove them from the server an re-install them????

Do I need to change the status of the Automatic Redirect to True or Keep it False. I do want to eliminate the Google Sitemaps all together so I don't have to find a warning every time I login to my account.
28 Sep 2008, 5:06 PM
#440
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Ultimate SEO URLs

Let me get this straight so I should remove the RewriteEngine Off in the .htaccess of the main domain and just add the above code to all the add-on domains?????
No add it to the htaccess in the addon domains as well.

What Do you mean to take the Site Maps out and fix them???? Delete them from the google website and resubmit them OR remove them from the server an re-install them????
NO, remove the improper redirected urls... OR regenerate a sitemap after you have REMOVED the OLD NON REWRITTEN urls from your site, because that is where the sitemap generator is getting them to include them.

Do I need to change the status of the Automatic Redirect to True or Keep it False. I do want to eliminate the Google Sitemaps all together so I don't have to find a warning every time I login to my account.

This should be set to TRUE IF YOUR SITE IS INDEXED BY THE SEARCH ENGINES ----- FALSE IF IT IS NOT. This has zero impact on your sitemaps, not relative at all.

~Melanie