× Here you can get community support related to ReDJ.

help with sef - urls

More
11 years 10 months ago #2119 by andi
help with sef - urls was created by andi
Hi,

I've changed my site using sh404sef to joomla - sef. Now I have lost all my urls found with google, because they have changed from for example:

www.mysite.com/18-pirelli/.....

to

www.mysite.com/forum/18-pirelli/.....

I have tried the following

FromUrl: ^/18-pirelli/
ToUrl: http://{siteurl}/forum/18-pirelli/

But it redirects me always to

www.mysite.com/forum

only?

I think I make a big mistake, but I dont know how to correct this. Any help would be greatly appreciated.

thanks
andi

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #2121 by andi
Replied by andi on topic help with sef - urls
Solved!

I have added the following makro to the ToUrl:
http://{siteurl}/forum/18-pirelli{path}
Now it works fine for me! Thanks for this great component!

regards
andi

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #2123 by admin
Replied by admin on topic help with sef - urls
Great,
I love self-solving problems ... :)

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #2127 by andi
Replied by andi on topic help with sef - urls
Hi luigi,

I am sorry, but now I have found another big problem with this redirection:
Thousands of google links to my forum are in this format (I have used sh404sef for 8 years)
http://www.mysite.com/18-pirelli/297-this-is-an-example.html

the correct new link is
http://www.mysite.com/forum/18-pirelli/297-this-is-an-example

Redirection works fine, if the thread-id generated by Kunena forum is the same as the first-post-id in this thread. Very old threads are correct. But over the years some threads have been moved, and now the thread-id is not the same as the first post-id. For example, if the first post has the id 452, redirection goes to
http://www.mysite.com/forum/18-pirelli/297-this-is-an-example#452

and moves to another thread, which is containing the post with id 452:
http://wwww.mysite.com/forum/2-anothercategory/3456-anotherthread-with-first-post-id-452

O my god....... my forum contains 70.000 postings, 16.000 members, and thousands of google-links are wrong......

Is there any possible solution for this problem? I would pay for it, if you could help.

Thanks in advance
andi

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago #2128 by admin
Replied by admin on topic help with sef - urls
Hi Andi,
it is not so clear from your examples, but if there's a relation (even in a db table) between the old link and the new one, we can build a rule. So we have to find a way to pass from:
http://www.mysite.com/forum/18-pirelli/297-this-is-an-example#452

To:
http://wwww.mysite.com/forum/2-anothercategory/3456-anotherthread-with-first-post-id-452

Using the initial available keys:
18
pirelli
297
this-is-an-example

These are the initial variables we can count on. Consider that 452 is an anchor so is not available on the server side.

I can help you with this if you want, but you should open a project request under the client manager. Probably I need some partial dumps and so on, so is better to move on the private area.

Kind regards,
Luigi
The following user(s) said Thank You: andi

Please Log in or Create an account to join the conversation.

More
11 years 10 months ago - 11 years 10 months ago #2129 by marcel555
Replied by marcel555 on topic help with sef - urls
Hi andi, seems to be a big forum that you have.

O my god.......

Apart from the ReDJ problem I think such an URL change (and other changes) should be planned a bit in advance! ;)

From my experience it is a very good way to have a copy of the whole website for testing purposes. This test site should not be reachable to the public, of course. Every technical change I do, I plan and try it at first with the test website. And if everything works fine, I do it on the live website.
Last edit: 11 years 10 months ago by marcel555.

Please Log in or Create an account to join the conversation.

Time to create page: 0.118 seconds