Thanks for the replies. As Jeremy says, we are changing this for SEO
purposes.
The blog is currently working fine on blog.mysite.com, and I am trying
to move it to be available on www.mysite.com/blog
I appreciate all the information above, I will need to go through it
to understand it fully.
I've done further testing on what I have at the moment, if I remove
the following for the permalinks settings in the wordpress DB
/%year%/%monthnum%/%postname%/
Then the URLs end up being like the following
blog/?p=34
Which then displays fine, but obviously I need a way to get this
working with the nice looking URLs..
I'm going to start by looking into the htaccess changes, I think maybe
the suggestions above will help with this. I also wonder if a change
may be needed to the htaccess under the blog/ directory. It currently
looks lilke this
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
On Jun 21, 7:29 am, Jeremy Burns | Class Outfit
<[email protected]> wrote:
> www.mysite.com/blogis better for SEO purposes.
>
> On 21 Jun 2011, at 07:12, Zaky Katalan-Ezra wrote:
>
>
>
>
>
>
>
> > Editing the .htaccess is a good method if the files you want to directly
> > access is some how part of your cake solution.
> > A calculator you downloaded from somewhere and you want to add to your app
> > without the need to integrate it to you cake code, for example.
>
> > But the problem here have no connection to cake.
> > Its an apache issue.
> > You set the site domain and you want to allow mod rewrite on the apache
> > root folder and exclude it from one of the directories under the apache
> > root.
>
> > Why make it a cake issue if its not?
>
> > You can also use blog.mysite.com which is more elegant I think.
> > Seehttp://httpd.apache.org/docs/2.2/vhosts/examples.html
>
> > --
> > Our newest site for the community: CakePHP Video
> > Tutorialshttp://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > [email protected] For more options, visit this group
> > athttp://groups.google.com/group/cake-php
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php