Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Redirect module
 
Julien Plesniak
Jr. Member
 
Total Posts:  22
Joined:  2009-05-11
 

Hello,

I have a module with multiple pages.
So i access him with the url:

http://www.mydomain.com/mymodule/myview/page/1

For SEO, i want to change the url to :

http://www.mydomain.com/text-example-mymodule-(PAGENUMBER).html

So i write in my htaccess

RewriteRule ^text-example-mymodule-(.+).html$ /mymodule/myview/page/$1 [L]

But this don’t work

How do this?

thanks for help and sorry for my english smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
MagePsycho
Mentor
 
Avatar
Total Posts:  1702
Joined:  2009-06-23
 

Instead of using .htaccess, you can easily manage with backend.

Go to Catalog >> Url Rewrite Management >> manage here…

 
Magento Community Magento Community
Magento Community
Magento Community
 
Julien Plesniak
Jr. Member
 
Total Posts:  22
Joined:  2009-05-11
 

yes i try, its working but if the url is static, how to use with dynamic parameter? (page number for my example)

 
Magento Community Magento Community
Magento Community
Magento Community
 
Julien Plesniak
Jr. Member
 
Total Posts:  22
Joined:  2009-05-11
 

No idea? :(

thanks for help

 
Magento Community Magento Community
Magento Community
Magento Community
 
Julien Plesniak
Jr. Member
 
Total Posts:  22
Joined:  2009-05-11
 

hello, anyone to help me?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Julien Plesniak
Jr. Member
 
Total Posts:  22
Joined:  2009-05-11
 

unfortunately I still have my problem

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top