Jump to content


Corporate Sponsors


Latest News: (loading..)

nafri

Member Since 22 Nov 2006
Offline Last Active May 11 2012, 17:45
-----

Topics I've Started

forward slas before ematy space

16 July 2011, 14:25

hi

got a strange issue.

I a trying to help some one with osc.I have just noticied when ever a customer signs up an account and there is a space betwen two words , the osc adds a /,

For exmpale.

the steet address is : number 1 road

osc adds it in the the databse as: number/ /1/ /road.

Same thing happens when email is sent via contact us.

all the empty spaces have / before and after the words.

like this

/therefore/ /increasing/
/your/ /traffic/ /and/ /giving/ /you/ /a/ /fair/ /amount/ /of/ /potential/ /customer

i dont know why this is happening..any help would be appreciated.

regards

nafri

need help with 301 redirect..

09 June 2011, 11:23

hi

got a small issue.

I got a co.uk domain and a .com domain

My .com domain is the main domian.

I setup a 301 redirect to redirect as foloowing..


RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain\.co\.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www\.domain\.co\.uk$
RewriteRule ^/?$ "http\:\/\/www\.domain\.com\/" [R=301,L]
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]

At the moment if some one comes to my site by typing www.domain co.uk, it redirects to to www.domain.com.Now if some one comes direclty to www.domain.co.uk/product-2364.html then it doesnt redirect to
www.domain.com/product-2364.html.

Can some please have a look at the above and advice a better way to manage this.

kind regards

nafri