Page 1 of 1

index.php?(page name)

Posted: Wed 1. Nov 2006, 15:07
by bench1254
I am making links within the site:

a button to send me to "register" would link as "index.php?register"

This use to work by setting the alias within the article as "register"

However this alias is reading as "register_lkt (random letter after _)
I can not get rid of them -- after deleting, they show up again.

Any thoughts?

Thanks

Posted: Wed 1. Nov 2006, 15:13
by flip-flop
Hi bench1254,

there are old entrys inside your db.
Please run this snippet using phpMyAdmin in SQL:
For deleted articles:

Code: Select all

DELETE FROM phpwcms_article WHERE article_deleted=9;
DELETE FROM phpwcms_articlecontent WHERE acontent_trash=9;
For deleted structure names:

Code: Select all

DELETE FROM phpwcms_articlecat WHERE acat_trash=9;
Regards Knut

Posted: Wed 1. Nov 2006, 15:16
by pepe
that happens, if you have deleted the Alias and want to take it another time...

only possible to delete inside the DB ... its for savety reasons :roll:


Three possibilities:

1. think first, if you wanna delete an aliasname :roll:

2. Use an other Alias if possible

3. delete the db entry of the unused "register" Alias with your db admin-tool

Posted: Tue 10. Apr 2007, 15:31
by Oldboy
flip-flop wrote:

Code: Select all

DELETE FROM phpwcms_articlecat WHERE acat_trash=9;
this code deletes already deleted aliases?
Doesn't work! I still can't create an alias en_home without this random string!?!

Any ideas??

Posted: Tue 10. Apr 2007, 17:22
by flip-flop
this code deletes already deleted aliases?
Yes.
Please have a look into the table phpwcms_articlecat.
Sort this table using the column acat_trash.
Is there any entry <> 0 ?

Posted: Tue 10. Apr 2007, 18:22
by Oldboy
found it! thanks! :D