smimosmile
Member
I converted my vb4 forum to xf a week ago, thread & forums url redirecting works perfect, I need help in redirection some other urls.
My xf is installed in "mysite.com/community/" folder, I have php 5.3.3, Apache 2.2.16, Debian squeeze.
1- I want to redirect all www to non-www. I found this in searching here:
Is it good for my case ?
2- Nothing is installed in my site homepage "mysite.com/", I want to redirect this page to my xenporta page: http://mysite.com -----> http://mysite.com/community/portal/
3- My old vb4 forum was installed in "mysite.com/forums/" folder, all thread and forums urls redirecting works great, except the vb home page. I want this redirect: http://mysite.com/forums/ -----> http://mysite.com/community/
4- I have static content located in "mysite.com/quran" folder: http://mysite.com/quran/ as a home page for this static content, and http://mysite.com/quran/page1.html, http://mysite.com/quran/page2.html, ... as different pages for that content.
Now I have transferred this content using xf pages system, so I want these redirects:
http://mysite.com/quran/ ----------------> http://mysite.com/community/pages/quran/
http://mysite.com/quran/page1.html ---> http://mysite.com/community/pages/quran/page1/
http://mysite.com/quran/page2.html ---> http://mysite.com/community/pages/quran/page2/
....
http://mysite.com/quran/page18.html ---> http://mysite.com/community/pages/quran/page18/
Thank you.
My xf is installed in "mysite.com/community/" folder, I have php 5.3.3, Apache 2.2.16, Debian squeeze.
1- I want to redirect all www to non-www. I found this in searching here:
Code:
RewriteCond %{HTTP_HOST} ^www.yourdomain.com [NC]
RewriteRule ^(.*)$ http://yourdomain.com/$1 [L,R=301]
2- Nothing is installed in my site homepage "mysite.com/", I want to redirect this page to my xenporta page: http://mysite.com -----> http://mysite.com/community/portal/
3- My old vb4 forum was installed in "mysite.com/forums/" folder, all thread and forums urls redirecting works great, except the vb home page. I want this redirect: http://mysite.com/forums/ -----> http://mysite.com/community/
4- I have static content located in "mysite.com/quran" folder: http://mysite.com/quran/ as a home page for this static content, and http://mysite.com/quran/page1.html, http://mysite.com/quran/page2.html, ... as different pages for that content.
Now I have transferred this content using xf pages system, so I want these redirects:
http://mysite.com/quran/ ----------------> http://mysite.com/community/pages/quran/
http://mysite.com/quran/page1.html ---> http://mysite.com/community/pages/quran/page1/
http://mysite.com/quran/page2.html ---> http://mysite.com/community/pages/quran/page2/
....
http://mysite.com/quran/page18.html ---> http://mysite.com/community/pages/quran/page18/
Thank you.