Closed (fixed)
Project:
Domain
Version:
6.x-2.0-rc5
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Feb 2009 at 18:58 UTC
Updated:
25 Mar 2009 at 07:16 UTC
right now all nodes in my site are displaying as mysite.com/node/1 .... earlier I had edited the settings.php and added function custom_url_rewrite_outbound however now this gives an error when accessing the site saying
Fatal error: Cannot redeclare custom_url_rewrite_outbound() (previously declared in /home/grawat/giqee.com/sites/default/settings.php:234) in /home/grawat/giqee.com/sites/all/modules/domain/settings_custom_url.inc on line 113
How can I get better url's for the nodes ?
Comments
Comment #1
agentrickardUse pathauto module.
You will otherwise need to combine your custom_url_rewrite_outbound() function with the one provided by Domain Access.
Comment #2
grawat commentedthanks
Comment #3
agentrickardI added a warning to INSTALL_QUICKSTART.txt
Comment #5
jjohn commentedHi!
i'm new in using drupal...
i'm also having the same fatal error described above... can u help me how to combine "custom_url_rewrite_outbound() function with the one provided by Domain Access?"
Comment #6
jjohn commentedComment #7
agentrickardProbably the easiest options are:
1) Find settings_custom_url.inc in the domain module folder.
2) Find your other implementation of custom_url_rewrite_outbound().
3) Edit one version custom_url_rewrite_outbound() to combine the logic of the two functions.
4) Remove the other implementation of custom_url_rewrite_outbound().
Comment #8
agentrickardComment #9
jjohn commentedwork for me now. thanks.