I'm using Joomla for my blog and i trying to rewriting my portfolio url but i can't find any guide to transform a url like this:
mysite.com/component/mb2portfolio/project/80-roberta-fabio.html
to: mysite.com/reportage-matrimonio/roberta-fabio.html
I use Joomla 3.4.8 and the component that i use is Mb2 Portfolio.
Can anyone please help. Thanks in advance
Related
I want to make this URL
https://www.maxelplus.com/single-commercial.php?PId=Mjc&Title=Domestic%20Products
to
https://www.maxelplus.com/domestic-products/table-top-wet-grinders/sleek-table-top-wet-grinder-2l-LEP883/
I used below code but is not working.
RewriteRule ^domestic-products/table-top-wet-grinders/sleek-table-top-wet-grinder-2l-LEP883/$ single-commercial.php?PId=$1&title=$2 [QSA]
Please share whate i am missing..
Depending on how your website is being hosted, it might be helpful to look at the .htaccess permalink structure which can be found here.
It looks like your first link is using a custom structure permalink, but your desired URL is a combination between post name and product number. A generic set of instructions can be found here if you are using WordPress. This can also clarify the benefits of using URLs that are friendly for Search Engine Optimization (SEO).
I have modified my website www.vidyaniketan.in . It is a Joomla 2.5 site. When I search it in google by URL, there are several sub-links displayed, eg. ABOUT US. It links to the old webpage. How do I link it to new webpage? I tried following code in my .htaccess file:
Redirect 301 /about_us.html http://www.vidyaniketan.in/index.php?option=com_content&view=article&id=71&Itemid=468
but unfortunately its not working. Any help for this will be appreciated. Thank you.
hope you can help me. i need a redirect from
/abc_company_detail.php?id=4 to detail/4/
So when I call the URL http://mydomain.com/abc_company_detail.php?id=4 then I got this pretty URL http://mydomain.com/detail/4/
You can use some PHP framework, and it will managed the URL for you. If you want to do it manually you have to configure .htacess file.
Try this link. .htaccess friendly URl
This kind of question had been asked before.
I want to make some custom htaccess rule for some page in magento.for this I have try to add some rewrite rule in htaccess file.but i always get 404 error.
ex.i want to rewrite http://www.mydomain.com/test/ to http://www.mydomain.com/varraible1/varraibe2/test/
please advise me some htaccess code for this.
thanks in advance
I hope URL rewrite works for you.
To enable the URL rewrite
Go to System > Configuration > Web > Search Engines Optimization and switch ‘Use Web Server Rewrites’ to Yes.
Check out the link below, to get detailed information on URL rewrite.
http://www.e-commercewebdesign.co.uk/blog/e-commerce-seo/htaccess-rewrites-for-magento-shops.php
Hope that helps
I would like to redirect URLs (100's of them) of a site based on a pattern match.
So for example if the requested url is
http://www.example.com/showcase/properties/boston/page/1
I would like to redirect it to
http://www.example.com/showcase/properties/boston
i.e. remove the /page/1 from the actual url.
I am newbie with all .htaccess concept. So if I have missed any information to add please let me know. Also I would appreciate if somebody can point me to a nice tutorial/book for .htaccess learning.
Thanks very much in advance.
P.S. - The site is built using PHP language.
RewriteRule (.*)/page/(\d+) $1
I don't know any tutorial about .htaccess!
I have apache manual on my PC and I use it!