Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Redirecting Domain Aliases
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 3 (Joomla 1.5 compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Redirecting Domain Aliases

Redirecting Domain Aliases 14 years, 3 months ago #10207

Good Morning,

I currently have a bunch of domain aliases pointed at my main site (www.newsonnews.net).

I've browsed the internet in order to find a .htaccess solution so that I could redirect some of these domain aliases to particular parts of my site, but I'm running into difficulties.

For example, I have politics news located at www.newsonnews.net/politics using joomsef.

I'd like to point one of my domain aliases, for this example, www.politicalskew.com to the politics page of my site.

I found one solution that does it, but it gives a 404 component error because its looking for politics/index.php which doesn't exsist. The other solutions I've found I think are looking for an actual directory called politics, which clearly doesn't exsist as its made by joomsef.

Is there a way to do this?

Regards
Kevin
The topic has been locked.

Re:Redirecting Domain Aliases 14 years, 3 months ago #10224

  • dajo
  • OFFLINE
  • Posts: 5069
Hello,

Try adding these rules to the .htaccess (before the Joomla RewriteCond section):

RewriteCond %{HTTP_HOST} ^www\.politicalskew\.com
RewriteRule (.*) www.newsonnews.net/politics [R=301,L]

Hope this helps.

Best regards,
ARTIO Support Team
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný