Forums / Setup & design / virtual URL redirecting wrong

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

virtual URL redirecting wrong

Author Message

Marko Žmak

Thursday 11 October 2007 12:39:05 am

I'm having some problems with virtual URLs in eZ 3.9.4.

I have setup a virtual URL like this:

/promet --> /knjiznica/promet

but when I try to access /promet I get this page:

/repozitorij/slike_css/promet

Then I tried this:

- change the name of "/repozitorij/slike_css/promet" to "promet_"
- delete virtual URL /promet --> /knjiznica/promet and create it again

After that the virtual URL "/promet" redirects OK, to "/knjiznica/promet". But then I changed the name of "/repozitorij/slike_css/promet_" back to "promet" and the same initial problem happens again, "/promet" redirects to "/repozitorij/slike_css/promet".

I verified this:

- that /knjiznica/promet doesn't have any aditional locations
- that there is no eZ node under "/promet" (it's not listed in the admin interface for the root folder)

and I cleared all the caches (even manually deleted the cache folder).

But nothing helps. Then I went to see the contents of ezurlalias table and I found this two records:

+-------+------------+----------------------------------+------------------------+-------------+---------------+-------------+
| id    | source_url | source_md5                       | destination_url        | is_internal | forward_to_id | is_wildcard |
+-------+------------+----------------------------------+------------------------+-------------+---------------+-------------+
|  1468 | promet     | c4413034432785a8dfafef9b94088038 | content/view/full/1011 |           1 |          1652 |           0 |
| 10519 | promet     | c4413034432785a8dfafef9b94088038 | content/view/full/2036 |           0 |          3507 |           0 |
+-------+------------+----------------------------------+------------------------+-------------+---------------+-------------+

Regardless of what I do, the record:

+-------+------------+----------------------------------+------------------------+-------------+---------------+-------------+
| id    | source_url | source_md5                       | destination_url        | is_internal | forward_to_id | is_wildcard |
+-------+------------+----------------------------------+------------------------+-------------+---------------+-------------+
|  1468 | promet     | c4413034432785a8dfafef9b94088038 | content/view/full/1011 |           1 |          1652 |           0 |
+-------+------------+----------------------------------+------------------------+-------------+---------------+-------------+

always remains in this table. And 1011 is the node ID of "/repozitorij/slike_css/promet".

So is this a bug in eZ or something is wrong with my eZ site? How do I repair this?

(it seems to me that I should delete the record for "/promet" from the ezurlalias table, but I'm not sure if that's the right way to fix it)

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Monday 12 November 2007 12:31:18 am

Could someone give some answer to this?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth