Mod Rewrite?

2010-03-23 Thread thankyou
Hello, I have a website where both website.com/MyDirectory/xxx and website.com/mydirectory/xxx point to the same location. The only difference is the capitals. To help optimize the website for SEO, I would want to do a 301 redirect from /MyDirectory/ to /mydirectory/ Is this possible? Check out

Mod rewrite to root

2010-03-17 Thread thankyou
Hi , I have a cakephp application where there's a link: http://www.mywebsite.com/numbers/view/112-332-3322 -- BTW...there are a variety of numbers after view/ not just 112-332-3322 I would like to make that viewable to the users as: http://www.mywebsite.com/112-332-3322 Is there a way to use mod-

Re: Create nofollow text link?

2010-01-17 Thread thankyou
#x27;=>'nofollow') > > On 17 Jan., 09:11, John Andersen wrote: > > > The nofollow is an additional attribute to the link. > > See:http://en.wikipedia.org/wiki/Nofollow > > for an explanation and how to implement. > > Enjoy, > >    John > > > O

Create nofollow text link?

2010-01-16 Thread thankyou
Hello, Having problems creating a nofollow link. I currently have the code below: link('mylink', 'http://www.mylink.com'); ?> What can I do to this to make it nofollow? Thank you :) Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions

Re: Cakephp CMS - - how to prevent html in comment spam?

2009-11-14 Thread thankyou
I do currently use captcha but its obviously not sufficient. People can still post wrote: > It seems your not doing any validation or filtering, thats a problem > with your app, not the spam. Try adding a captcha or a spam blocker. > > http://www.milesj.me/resources/script/commentia-behavior > >

Cakephp CMS - - how to prevent html in comment spam?

2009-11-14 Thread thankyou
I have a CMS in cakephp. I'm starting to get significant comment spam for nude pictures, etc. The posters are entering HTML, which is showing links to their websites. I want to only allow text and no links, html, etc.. Is there an easy way to do this (I'm new to CakePHP)? Thank you :) -- You

.htaccess and blog

2009-03-19 Thread thankyou
Hello, I'm trying to enable a blog on my cakephp website. I have the following htaccess code in my /blog folder: RewriteEngine on RewriteBase /blog/ This code enables the blog but subfolders on the blog page give 404 errors. For example, the following links give 404 errors: http://www.

Re: Mod Rewrite problem

2009-02-10 Thread thankyou
Wonderful, thank you On Feb 9, 10:31 am, Webweave wrote: > Here's a good writeup from the > bakery:http://bakery.cakephp.org/articles/view/mod-rewrite-on-godaddy-shared... > > On Feb 9, 5:53 am, thankyou wrote: > > > I'm not very familiar with modre

Re: Mod Rewrite problem

2009-02-09 Thread thankyou
s set up to serve the files from > the /blog folder, you just need to make sure you have the .htaccess > files as described here:http://book.cakephp.org/view/37/Apache-and-mod_rewrite > > On Feb 8, 8:17 am, thankyou wrote: > > > Hello, > > I have the .htaccess file setup s

Mod Rewrite problem

2009-02-08 Thread thankyou
Hello, I have the .htaccess file setup so that it makes cakephp work fine at mywebsite.com. The problem is that I also want to add a blog to the website at the folder /blog, so I can make blog.mywebsite.com work. The folder is in /blog. My .htaccess file info is below, what do I need to do to ma

Mod Rewrite problem

2009-02-08 Thread thankyou
Hello, I have the .htaccess file setup so that it makes cakephp work fine. The problem is that I also want to add a blog to the website at /blog, ie blog.websitename.com. The folder is in /blog. My .htaccess file info is below, what do I need to do to make the blog.websitename.com work? Rew

Re: if then isn't working

2009-01-31 Thread thankyou
; btw, if anyone's confused, "bucle" means "loop" (or "circuit") in french ;-) > > On Sat, Jan 31, 2009 at 11:13 AM, Xoubaman wrote: > > > echo("")  only happens if $j==4, but echo(" > td>"); happens in every first bucle

Re: if then isn't working

2009-01-31 Thread thankyou
cle" means "loop" (or "circuit") in french ;-) > > On Sat, Jan 31, 2009 at 11:13 AM, Xoubaman wrote: > > > echo("")  only happens if $j==4, but echo(" > td>"); happens in every first bucle iterations, so you are > > closing lots

Re: if then isn't working

2009-01-31 Thread thankyou
> td>"); happens in every first bucle iterations, so you are > > closing lots os rows and columns. > > > On Jan 31, 3:56 pm, thankyou wrote: > >> ** im a beginner :) > > >> I'm trying to get this to make 20 rows of 5 colums each and I&#

if then isn't working

2009-01-31 Thread thankyou
** im a beginner :) I'm trying to get this to make 20 rows of 5 colums each and I'm continuing to get errors. Any idea what's wrong? Here's the code: "); } echo($html->link($firstNumber . $i. $j . $text , "/AreaCodes/

My Paginator

2008-12-13 Thread thankyou
Hello, I'm a little confused with My Paginatorplease forgive me as i'm a basic learner :) I'm currently showing links to pages 1 2 3 4 5 on the bottom of my website: Here is part of the code: 1 2 etc etc5 What I want it to doI want it to show pages upto page 10 (it only goes to page

Re: Alt text?

2008-11-10 Thread thankyou
r'], 'title'=> $text . $phone['Phone']['phonenumber']))); > ?> > > Does that help? > > On 10 Nov 2008, at 10:21, thankyou wrote: > > > > > Any help on this is greatly appreciated :) > > > I want to add additional text

Alt text?

2008-11-09 Thread thankyou
Any help on this is greatly appreciated :) I want to add additional text to the alt and title code for the icon, how can I hard code this in. For example, how do I add the text "HELLO THERE" to the alt tag so it says both "Hello There" and what it pulls up from the $phone? image('icon.gif', arra