Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to redirect to corect?


justmeir

Recommended Posts

Posted

Hi, I instaled this script in www.domain.com/catalog

 

The question is how I redirect my customers/visitores to this directory?

 

I tried to use htaccess code but this didn't help:

 

I wrote this in htaccess:

 

<Files ~ "^.(htaccess|htpasswd)$">

deny from all

</Files>

Redirect permanent http://www.achildishop.com http://achildishop.com/catalog

order deny,allow

 

Somebody have any more ideas?

 

Thanks

Posted
Hi, I instaled this script in www.domain.com/catalog

 

The question is how I redirect my customers/visitores to this directory?

 

I tried to use htaccess code but this didn't help:

 

I wrote this in htaccess:

 

<Files ~ "^.(htaccess|htpasswd)$">

deny from all

</Files>

Redirect permanent http://www.achildishop.com http://achildishop.com/catalog

order deny,allow

 

Somebody have any more ideas?

 

Thanks

 

I just did some changes but I have another problem

 

The changes:

<Files ~ "^.(htaccess|htpasswd)$">

deny from all

</Files>

Redirect permanent / http://achildishop.com/catalog

order deny,allow

 

The web server redirect my web site but to strange directory:

 

http://www.achildishop.com/catalogcatalogc...gcatalogcatalog

 

how can i fix that, can somebody help me?

Posted

In your index.html you could try

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<head>

<title>Your Page Title</title>

<meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"></HEAD>

<BODY>

Optional page text here.

</BODY>

</HTML>

Posted

That works, but some people say your site get's "black balled" by some major search engines if you do it that way.

 

I really don't know.

 

Just depends on if you believe what you read....

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
That works, but some people say your site get's "black balled" by some major search engines if you do it that way.

 

I really don't know.

 

Just depends on if you believe what you read....

:blush:

 

So how do you think that i can redirect from achildishop.com to catalog directory? <_<

Posted
So how do you think that i can redirect from achildishop.com to catalog directory? <_<

Why not just use the store in root addon.

Posted

Personally, I'd like someone to post an example of a .htaccess file (that works) to redirect.

 

There's a need for something like that.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

meir,

 

If you're willing to experiment a litlle...

 

Change this:

Redirect permanent http://www.achildishop.com http://achildishop.com/catalog

to:

Redirect 301 / http://achildishop.com/catalog/

Keep in mind I've not done this before, I'm just going from examples I've looked up on Google.

 

I'm just making a slightly educated guess...

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
meir,

 

If you're willing to experiment a litlle...

 

Change this:

Redirect permanent http://www.achildishop.com http://achildishop.com/catalog

to:

Redirect 301 / http://achildishop.com/catalog/

Keep in mind I've not done this before, I'm just going from examples I've looked up on Google.

 

I'm just making a slightly educated guess...

:blush:

 

 

It is realy worked!!! you are my hero!!!

:thumbsup: :thumbsup: :thumbsup: ;)

Posted
In your index.html you could try

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<head>

<title>Your Page Title</title>

<meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"></HEAD>

<BODY>

Optional page text here.

</BODY>

</HTML>

 

This is realy working too! but some people says that this will black you from search like google? is it ???

Posted
It is realy worked!!! you are my hero!!!

:thumbsup: :thumbsup: :thumbsup: ;)

 

after 3 hours this stop to work so i had to change it back to:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<head>

<title>Your Page Title</title>

<meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"></HEAD>

<BODY>

Optional page text here.

</BODY>

</HTML>

 

I think this is the only thing that realy work thanks avec!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...