MyBB Community Forums

Full Version: html & php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Today I see this community Forum display treads like this >>


Quote:http://www.mysite.com/thread-xxxxx.html


but my forum Still show like this >>

Quote:http://www.mysite.com/forumdisplay.php?fid=xxx
What is that different ?
How to make like that ?
(06-06-2016, 09:45 AM).m. Wrote: [ -> ]see SEF URLs

No I already selected search engine friendly URLs.
but not working as .html
have you also renamed htaccess.txt file as .htaccess (no .txt at end)
(06-06-2016, 09:59 AM).m. Wrote: [ -> ]have you also renamed htaccess.txt file as .htaccess (no .txt at end)

I have google seo plugin too.
and I have another site same server. (as sub domain)

Is that not problem to change htaccess.txt file as .htaccess ?
if you are using Google SEO plugin & if it is configured for rewriting URLs
then Google SEO plugin uses its own .htaccess file. the plugin suggests
(at the plugin's page of forum) to add a set of rules into .htaccess file

see details about Google SEO plugin at its wiki
(06-06-2016, 10:19 AM).m. Wrote: [ -> ]if you are using Google SEO plugin & if it is configured for rewriting URLs
then Google SEO plugin uses its own .htaccess file. the plugin suggests
(at the plugin's page of forum) to add a set of rules into .htaccess file

see details about Google SEO plugin at its wiki

hm I edited .htaccess
and user profile is working with new url but not change urls in forum.

another thing is Treads is not working with .html that is show error >>

Quote:The specified thread does not exist.

How can I slove this?

this is my .htaccess file >>

RewriteEngine on

# MyBB - Google Seo Plugin v1.6.7 /.htaccess URL kodları
RewriteBase /

# Altarnetif /.htaccess kodlarını Google Seo URL kodlarının sonuna ekleyebilirsiniz.
# ./search.php sorunları için geçici URL çözümleri:
RewriteRule ^([^&]*)&(.*)$ http://www.mysite.com/$1?$2 [L,QSA,R=301]

# Google SEO URL - 404 Sayfaları:
ErrorDocument 404 /misc.php?google_seo_error=404

# Google SEO URL - Sitemap:
RewriteRule ^sitemap\-([^./]+)\.xml$ misc.php?google_seo_sitemap=$1 [L,QSA,NC]

# Google SEO URL - Forumlar:
RewriteRule ^forum\-([^./]+)$ forumdisplay.php?google_seo_forum=$1 [L,QSA,NC]

# Google SEO URL - Konular:
RewriteRule ^thread\-([^./]+)\.html$ showthread.php?google_seo_thread=$1 [L,QSA,NC]

# Google SEO URL - Duyurular:
RewriteRule ^announcement\-([^./]+)\.html$ announcements.php?google_seo_announcement=$1 [L,QSA,NC]

# Google SEO URL - Kullanıcılar:
RewriteRule ^user\-([^./]+)\.html$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]

# Google SEO URL - Takvim/Ajanda:
RewriteRule ^calender\-([^./]+)\.html$ calendar.php?google_seo_calendar=$1 [L,QSA,NC]

# Google SEO URL - Etkinlikler:
RewriteRule ^event\-([^./]+)\.html$ calendar.php?action=event&google_seo_event=$1 [L,QSA,NC]

RewriteCond %{HTTP_HOST} ^mysite.com$
RewriteRule ^(.*)$ "http\:\/\/www\.mysite\.com\/$1" [R=301,L]

RewriteCond %{HTTP_HOST} ^mysite\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.mysite\.com$
RewriteRule ^index\.php$ "http\:\/\/www\.mysite\.com\/" [R=301,L]

RewriteCond %{HTTP_HOST} ^mysite\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.mysite\.com$
RewriteRule ^poster\/$ "http\:\/\/poster\.mysite\.com\/" [R=301,L]

RewriteCond %{HTTP_HOST} ^mysite\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.mysite\.com$
RewriteRule ^portal\.php$ "http\:\/\/www\.mysite\.com\/" [R=301,L]
bump
I need help
do you have mysite in the .htaccess file or is your domain changed with mysite in above codes ?
can we have your forum url .. and which version of Google SEO plugin you are using ?
We use Google SEO 1.6.8
Pages: 1 2