خرید بک لینک

Vote count: 0

I recently moved a subdomain to my main domain but I also changed the url structure.

Previously I had pages like http://sub.domain.com/companies/my-company-id/year/2012/charts

When moving to the main domain, I removed all the complicated urls to juts get: http://www.domain.com/companies/my-company

I currently have the following rule: rewrite ^/companies/(.*)$ http://www.domain.com/companies/$1 permanent; but when someone go on a page like http://sub.domain.com/companies/my-company/2012/charts they get redirect to http://www,.domain.com/companies/my-company/2012/charts and get a 404.

I like to force a redirection to http://www,.domain.com/companies/my-company-id regardless of what's after the my-company-id

asked 3 mins ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 20 فروردين 1395 ساعت: 0:31

صفحه بندی