SEO Google
SEO Google
Hello,
is it possible that index.php can be removed from the url.
So that we get this --> f.e. http://www.testpagellala.nl/news instead of f.e. http://www.testpagellala.nl/index.php?news
Thank already for your answer.
Greetz Michael
is it possible that index.php can be removed from the url.
So that we get this --> f.e. http://www.testpagellala.nl/news instead of f.e. http://www.testpagellala.nl/index.php?news
Thank already for your answer.
Greetz Michael
Last edited by xinoy on Mon 15. Dec 2008, 21:40, edited 1 time in total.
Re: SEO Google
Hi there,
did you have a look at the _htaccess file inclueded ? just rename it to .htaccess , switch it onb in config.inc.php to get it going: news.phtml
did you have a look at the _htaccess file inclueded ? just rename it to .htaccess , switch it onb in config.inc.php to get it going: news.phtml

Re: SEO Google
I didn't mean it for only the news i ment it for all the pages that you generate with phpwcms.
Re: SEO Google
yes ! As it is ! All !
Re: SEO Google
Where can i find the _htaccess file and what line do i have to change in config.php ?
Can you help me please.. ?
Greetz
Can you help me please.. ?
Greetz
Re: SEO Google
have a look here http://www.phpwcms-docu.de/conf_inc_php_en.phtml row 60 

-
- Posts: 1
- Joined: Tue 6. Jan 2009, 15:24
Re: SEO Google
in the config.inc.php look for
and switch it to 1
then you have in your root folder a file called "_htaccess" rename it to ".htaccess".
check the content:
Code: Select all
$phpwcms["rewrite_url"] = 0;
then you have in your root folder a file called "_htaccess" rename it to ".htaccess".
check the content:
Code: Select all
# These settings are recommend
# Maybe you might have problems
# with other scripts that needs
# register_globals ON
php_flag magic_quotes_gpc Off
php_flag register_globals Off
<IfModule mod_rewrite.c>
# Rewrite functionality for phpwcms
# optimized by Jan212
# 18-04-2004
# Check that you have set Options FollowSymLinks
# and right Allow
RewriteEngine On
# maybe you need this
#DirectoryIndex index.html index.php
# Default ReWrite settings for phpwcms
# ===============================================
# This will rewrite 0.0.0.0.0.0.phtml => index.php?id=0.0.0.0.0.0
RewriteBase /
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml$ index.php?id=$1,$2,$3,$4,$5,$6
# This will rewrite mypage.phtml => index.php?mypage
RewriteRule ^(.+)\.phtml$ index.php?$1
# If phpwcms is installed in a subdirectory,
# sample: "mysubdir" then use this (remove #)
# if above lines doesn't work for you
# ===============================================
#RewriteBase /mysubdir
#RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml$ /mysubdir/index.php?id=$1,$2,$3,$4,$5,$6
#RewriteRule ^(.+)\.phtml$ /mysubdir/index.php?$1
# If you want to set rewrite logging
# ===============================================
#RewriteLog "/absolute/path/to/the/rewrite.log"
# 0 = Logging disabled, 9 = highest level of logging, only for debugging
#RewriteLogLevel 3
</IfModule>
#Sometimes neccessary to add those
#
#AddType application/x-javascript .js
#AddType text/css .css
Re: SEO Google
Sorry, excuse me, but "rewrite" of phpwcms is unsatisfying.
Instead of /index.php?blah
you get just /another-blah{alias}.phtml
regardless of which site structure level, whatever. [funny stuff isn't it?]
What fundamentally should be the difference?
This way it is irrelevant for Google and friends. [no advantage, but content, structure, css rulez]
This why http://code.google.com/p/phpwcms/issues/detail?id=132 is for [good and we are waiting {like for GURM}]
Instead of /index.php?blah
you get just /another-blah{alias}.phtml

regardless of which site structure level, whatever. [funny stuff isn't it?]
What fundamentally should be the difference?



This way it is irrelevant for Google and friends. [no advantage, but content, structure, css rulez]
This why http://code.google.com/p/phpwcms/issues/detail?id=132 is for [good and we are waiting {like for GURM}]
Re: SEO Google
Hey, ask these Bot programers Jens 
In fact there is a diference ! I can pm you sites where I mirror (gurming) google !

In fact there is a diference ! I can pm you sites where I mirror (gurming) google !

Re: SEO Google
@jensensen, you are right !
but a clean url is already better... (and its for free hehe)
but a clean url is already better... (and its for free hehe)
Re: SEO Google
Hi All
this is my site http://www.myflorenceguide.com/
can you please help me whit this:
if i rename _htaccess to .htaccess and apply to it suggested changes
i get a server error did it happen to you as well ?
Internal Server Error
and moreover what's excatly the right content of .htaccess and do i have to change something also in the category alias to have .phtml ?
in other words teach me step by step
many thanks
larissa
this is my site http://www.myflorenceguide.com/
can you please help me whit this:
if i rename _htaccess to .htaccess and apply to it suggested changes
i get a server error did it happen to you as well ?
Internal Server Error
and moreover what's excatly the right content of .htaccess and do i have to change something also in the category alias to have .phtml ?
in other words teach me step by step
many thanks
larissa
1000 Years to PHPWCMS!
Re: SEO Google
i solve it
by commenting
# php_flag magic_quotes_gpc Off
# php_flag register_globals Off
is that ok?
larissa
by commenting
# php_flag magic_quotes_gpc Off
# php_flag register_globals Off
is that ok?
larissa
1000 Years to PHPWCMS!