Jump to content
Sign in to follow this  
enigma1

[Contribution] SEO-G

Recommended Posts

Hi, what I want to do is to modifiy my urls. I want my urls in spanish, for example,

Actual URL:

www.misite.com/featured_products.php

What I want:

www.misite.com/productos_destacados.php

 

Can I do that with SEO-G ? How?

is not multilingual... you have to recreate again the db changing spanish as a selected default language

Share this post


Link to post
Share on other sites

I am working on a site with SEO-G mod which was set up years ago - and I wasn't the one to set it up.

 

The problem I am having is that when we send a url from google adwords through the redirection process, I believe we are losing the gclid variable that needs to be kept to track conversions.

 

Can this be done?

Share this post


Link to post
Share on other sites

I have a problem with some real *.html-files. SEO-G is working fine, but it standard redirects every *.html file which is found on the server.

 

For example I have a file called /maps/maps.html which is really on the server. But still the SEO-G is redirecting it to cookie_usage.php like he's telling me the page is not found.

 

Every php-file has renamed to html by SEO-G, but offcourse the html-files itself don't.

 

How to make sure the SEO-G won't redirect an excisting html-file to cookie_usage.php?

Share this post


Link to post
Share on other sites

Dears,

any solution for SEO-G Removes all non-alphanumeric characters ?

 

exsmple:

SEO URL:

 

function strip($string){

if ( is_array($this->attributes['SEO_CHAR_CONVERT_SET']) ) $string = strtr($string, $this->attributes['SEO_CHAR_CONVERT_SET']);

 

$pattern = $this->attributes['SEO_REMOVE_ALL_SPEC_CHARS'] == 'true'

// ? "([^[:alnum:]])+"

// : "([[:punct:]])+";

 

? "([^[:alnum:]])"

: "/[^a-z0-9- ]/i";

 

$string = preg_replace('/(('))/', '-', strtolower($string)); //remove apostrophe - not caught by above

//$anchor = preg_replace($pattern, '', mb_convert_case($string, MB_CASE_LOWER, "utf-8"));

$anchor = preg_replace($pattern, '', strtolower($string));

$pattern = "([[:space:]]|[[:blank:]])";

$anchor = preg_replace($pattern, '-', $anchor);

return $anchor; // return the short filtered name

} # end function

 

 

But now SEO-G use:

 

 

function create_safe_string($string, $separator=SEO_DEFAULT_WORDS_SEPARATOR) {

$string = preg_replace('/\s\s+/', ' ', trim($string));

$string = preg_replace("/[^0-9a-z\-_\/]+/i", $separator, strtolower($string));

$string = trim($string, $separator);

$string = str_replace($separator . $separator . $separator, $separator, $string);

return $string;

}

 

function create_safe_name($string, $separator=SEO_DEFAULT_WORDS_SEPARATOR) {

$string = preg_replace('/\s\s+/', ' ', trim($string));

$string = preg_replace("/[^0-9a-z\-_]+/i", $separator, strtolower($string));

$string = trim($string, $separator);

$string = str_replace($separator . $separator . $separator, $separator, $string);

if(SEO_DEFAULT_WORD_LENGTH > 1) {

$words_array = explode($separator, $string);

if( is_array($words_array) ) {

for($i=0, $j=count($words_array); $i<$j; $i++) {

if(strlen($words_array[$i]) < SEO_DEFAULT_WORD_LENGTH) {

unset($words_array[$i]);

}

}

if(count($words_array))

$string = implode($separator, $words_array);

}

}

return $string;

}

 

 

 

anyone can help to do SEO-G Removes all non-alphanumeric characters code? Thanks!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×