[Zen Cart] .htaccess and readonly-htaccess

Technical difficulties? Ask for help here.

[Zen Cart] .htaccess and readonly-htaccess

Postby Lazzo85 » Thu May 13, 2010 9:21 am

I have instal Magic SEO Url.
I have not understood to point 9:
and/or create new blank file with readonly-htaccess name in same directory (this will prevent www/.htaccess file from being overwritten by Inveo Magic SEO URLs).

I can create new rows with that name (readonly-htaccess)?
What I must put to us within?

I have old formulations in .htaccess... where I put to them now?
Lazzo85
 
Posts: 6
Joined: Tue Apr 06, 2010 12:35 am
Location: Italy

Re: [Zen Cart] .htaccess and readonly-htaccess

Postby ~J~ » Wed May 19, 2010 6:11 am

It should be blank file with no extension named "readonly-htaccess".
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [Zen Cart] .htaccess and readonly-htaccess

Postby Lazzo85 » Wed May 19, 2010 7:01 am

I can write in .htaccess file?
Lazzo85
 
Posts: 6
Joined: Tue Apr 06, 2010 12:35 am
Location: Italy

Re: [Zen Cart] .htaccess and readonly-htaccess

Postby ~J~ » Wed May 19, 2010 7:04 am

I am not sure if I understood you correctly, but yes you can edit .htaccess file.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [Zen Cart] .htaccess and readonly-htaccess

Postby Lazzo85 » Wed May 19, 2010 7:49 am

ok, thanks.

I must to redirect old URL (created with ultimate) in news URL (created with magic seo URL)… As I can make?
I must to redirect one by one?
Lazzo85
 
Posts: 6
Joined: Tue Apr 06, 2010 12:35 am
Location: Italy

Re: [Zen Cart] .htaccess and readonly-htaccess

Postby ~J~ » Wed May 19, 2010 8:19 am

If you need to redirect Ultimate SEO URL, all you need to do is to put their Rewrite Rules after RewriteBase line.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe

Re: [Zen Cart] .htaccess and readonly-htaccess

Postby Lazzo85 » Wed May 19, 2010 8:50 am

Ok, it works. :D

Last thing:
I have added also after
Code: Select all
RewriteEngine On


this code:

Code: Select all
RewriteCond % {HTTP_REFERER}! ^ http://(www \.)? site\ .it/ folder/  [NC]
RewriteCond % {HTTP_REFERER}! google \. [NC]
RewriteCond % {HTTP_REFERER}! search \? q=cache [NC]
RewriteCond % {HTTP_REFERER}! ^ http://(www \.)? yahoo \ .com/ [NC]
RewriteCond % {HTTP_REFERER}! ^ http://(www \.)? live \ .com/ [NC]
RewriteCond % {HTTP_REFERER}! ^$
RewriteRule \. (jpe? g|GIF|bmp|png) $ - [F]


It work? (my zencart is inside a folder...)
Lazzo85
 
Posts: 6
Joined: Tue Apr 06, 2010 12:35 am
Location: Italy

Re: [Zen Cart] .htaccess and readonly-htaccess

Postby ~J~ » Wed May 19, 2010 8:52 am

It will work fine.
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 5 guests