Menu Content

Podpora

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

Installing JoomSEF after sh404sef
(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.

TOPIC: Installing JoomSEF after sh404sef

Re:Installing JoomSEF after sh404sef 14 years ago #10959

  • jaku
aemassi: how does your post relate to previous?
The topic has been locked.

Re:Installing JoomSEF after sh404sef 14 years ago #10973

Sorry I replied to the very 1st message where the suggestion is to uninstall JoomSEF, delete the table, and reinstall JoomSEF, so isn't it possible to delete and re-create the table without perform the uninstall and reinstall?
The topic has been locked.

Re:Installing JoomSEF after sh404sef 13 years, 11 months ago #11593

My previous site used SH404 and that generated urls like:

amber-green-consulting.co.uk/ag/index.ph...-green-products.html

I am now using JoomSEF on my new site and the equivalent url is this:

amber-green-consulting.co.uk/ag/products/amber-green-products

I have created a 301 redirect in JoomSEF to point the old url to the new one:

Moved from url: index.php/products/amber-green-products.html
Move to url: products/amber-green-products

But this does not work - I get 404 error when using the old url.

I think its to do with the index.php in the old SH404 url - if I create a 301 redirect without this, it works ok. Trouble is old links and search engines have those old urls whicih include index.php/

Any ideas?
The topic has been locked.

Re:Installing JoomSEF after sh404sef 13 years, 11 months ago #11597

  • jaku
I would suggest you creating a general rule in .htaccess that will redirect everything that starts with
"index.php/" to the new URL format
so generally speaking "index.php/some-path/some-target.html" should be forwarded to
"some-path/some-target".

This should be possible to achieve with one single RewriteRule.
The topic has been locked.

Re:Installing JoomSEF after sh404sef 13 years, 11 months ago #11605

That sounds like it would do the job. But I am entirely new to the world of .htaccess and what looks like fiendish redirect syntax. I found this on the web to remove a index.html prefix:

# redirect to remove "index.html" prefixes from requested URLs
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.html/.
Rewriterule ^index\.html/(.+)$ www.example.com/$1 [L,R=301]

So, I would want someting similar to that I guess - do I replace www.example.com in the above with my own site url?

Any how to remove the trailing .html from the old url?

Thanks for any help
The topic has been locked.

Re:Installing JoomSEF after sh404sef 13 years, 11 months ago #11627

  • jaku
Hello Steerpike,
I am sorry, but explaining how Rewrite rules work is already outsite the range of these forums.
I can either recommend you to read the Apache's mod_rewrite documentation or suggest to book our paid support for this case.

Anyway, in short - the rule above looks almost fine for what you need. You should just replace the .html with .php and example domain name with your own domain name. Plus you will need to adjust the rule remove the ".html" ending of the URL or set JoomSEF to also use it.
The topic has been locked.
Přihlášení uživatele Prázdný