Menu Content

Podpora

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

Wildcards in 301 redirects?
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Wildcards in 301 redirects?

Wildcards in 301 redirects? 15 years, 11 months ago #5653

Hello,

I recently changed my site from a Joomla 1.0 with Joomfish (4 languages) to Joomla 1.5 without Joomfish, but now a lot of my URL's are not correct anymore. Google reports about 70.000 URL's that are wrong.

So my question is: can I use wildcards in order to redirect the old URLs to the new ones? How to do this?

Thanks. A solution for this would save me days of work and a a lot of visits.

Frank

Re:Wildcards in 301 redirects? 15 years, 6 months ago #7275

I've got the same question.

Is it possible to use wildcards like * or ??? in 301 redirects?

It would save a lot of work to redirect customers to at least more relevant section in new site layout in case you have your site rebuilt while google still have your links from the old one.

I've got the same problem as frill does (maybe not so severe) but still I can see visits bouncing on 404 while visitors want to see photo gallery aor articles from old links.

Any help appreciated

Tom

Re:Wildcards in 301 redirects? 15 years, 6 months ago #7290

  • jaku
Hello,

the 301 redirect in JoomSEF is based on standard Redirect of Apache. Thus, only 1:1 relation is allowed and so wildcards cannot be used.
To be able to use wildcards, you would have to use RewriteRules instead. These need to be added then directly to .htaccess.
Last Edit: 15 years, 6 months ago by .

Re:Wildcards in 301 redirects? 15 years, 6 months ago #7304

Good idea, thanks :)
  • Page:
  • 1
Přihlášení uživatele Prázdný