• Hi! Sorry for my bad english. I use redirection to use wordpress in domain.com/pl rather than domain.com. It works. I have a shop in sklep.domain.com but i don’t know how to redirect old one from domain.com/sklep. It always redirect me to domain.com. What should i add to htaccess file?

Viewing 3 replies - 1 through 3 (of 3 total)
  • What is your .htaccess like? Could you post it here?

    Thread Starter uzytkownik78

    (@uzytkownik78)

    # REDIRECTION TO V2 SITE 
    
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^domain\.com$
    RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
    RewriteRule ^$ /pl [L,R=301]
    
    ErrorDocument 404 /
    
    #RewriteEngine on
    
    #RewriteCond %{HTTP_HOST} ^domain.com$ [OR]
    #RewriteCond %{HTTP_HOST} ^www.domain.com$
    #RewriteRule ^casting$ "http\:\/\/wwwdomain\.com\/index\.php\?go\=informacje" [R=302,L]
    
    #RewriteCond %{HTTP_HOST} ^domain.com$ [OR]
    #RewriteCond %{HTTP_HOST} ^www.domain.com$
    #RewriteRule ^bilety$ "http\:\/\/www\.domain\.com\/index\.php\?go\=bilety" [R=302,L]

    Correct me if I’m wrong but I can’t see anything about /sklep or sklep.domain.com here. What’s that shop? Is it some external script or is it in fact based on WordPress? Or… is it maybe another copy of WordPress…

    Or perhaps you could just post the domain here to let us take a look?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘redirecting some links’ is closed to new replies.