Post by dellquality » Wed Feb 17, 2010 1:48 pm

Hi

I want to remove the space from the SEO option and replace with underscore or dash?

What changes in the .htaccess do I need to make?

Options +FollowSymlinks

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]

Example:

The category links are now created like: http://dellquality.com/Dell%20Laptops or
http://dellquality.com/Dell Laptops

I want http://dellquality.com/Dell_Laptops or
http://dellquality.com/Dell-Laptops

So i can create a xml sitemap to submit to yahoo and google.

Thanks
Dave
Please do not try and buy anything from the site. The site is NOT up and running - in the test stages - NO real items for sale.

Thanks
Dave
My Sites: http://www.dellquality.com and http://www.needhits.net


Newbie

Posts

Joined
Tue Feb 02, 2010 7:27 pm


Post by richard211986 » Wed Feb 17, 2010 5:57 pm

put them in yourself back end?

sitemap is already done in the admin system under product feeds copy the code into google webmaster tools insert new sitemap

Active Member

Posts

Joined
Sun Sep 20, 2009 5:34 am

Post by dellquality » Mon Feb 22, 2010 6:18 am

I know there is a site map and the URLs for the categories have spaces. If I copy them it will not work for a .XML site map for google.

Google will not index URLs with spaces in them.

I would like it so that when I add a with a space the URL would have underscores _ . Can this be done from the .htaccess file?

Even if I name the category from the admin area with a underscore it will create pages with the spaces.

Example: I named one category Dell_Laptops and the program created a page URL http://dellquality.com/Dell Laptops still.

Thanks
Dave

Thanks
Dave
My Sites: http://www.dellquality.com and http://www.needhits.net


Newbie

Posts

Joined
Tue Feb 02, 2010 7:27 pm


Post by dellquality » Mon Feb 22, 2010 10:17 am

I even tried deleting all the categories and using underscore in them and the program still creates a space - replacing the under score? O0

Thanks
Dave
My Sites: http://www.dellquality.com and http://www.needhits.net


Newbie

Posts

Joined
Tue Feb 02, 2010 7:27 pm


Post by rph » Mon Feb 22, 2010 10:54 am

Go into phpMyAdmin if you have it and manually delete any entries under url_alias.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by rmandiga » Fri Oct 23, 2015 12:53 am

Export URL_alias table from myphpadmin and then remove spaces (find & replace) and import data back after truncating the table. This took me 5 mts to do...

Good luck

Newbie

Posts

Joined
Fri Oct 16, 2015 9:43 pm
Who is online

Users browsing this forum: No registered users and 341 guests