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

agentrickard’s picture

Use pathauto module.

You will otherwise need to combine your custom_url_rewrite_outbound() function with the one provided by Domain Access.

grawat’s picture

Status: Active » Fixed

thanks

agentrickard’s picture

I added a warning to INSTALL_QUICKSTART.txt

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jjohn’s picture

Hi!

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?"

jjohn’s picture

Status: Closed (fixed) » Active
agentrickard’s picture

Probably 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().

agentrickard’s picture

Status: Active » Closed (fixed)
jjohn’s picture

work for me now. thanks.